package hub.cathome.service;

import hub.cathome.entity.Like;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LikeService {
    int insertLike(Like like);
    int deleteLike(Integer id);
    Like getLikeById(Integer id);
    List<Like> getLikeByShotBlogId(Integer shotBlogId);
    Like getLikeByShotBlogIdAndUserId(@Param("blogId") Integer shotBlogId, @Param("userId") Integer userId);
}
